home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 48
/
Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso
/
Aminet
/
dev
/
basic
/
df_lib.lha
/
df_lib
/
Examples
/
Sources
/
df_LslLsr.pb
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2002-01-07
|
318 b
|
15 lines
;
; LSL/LSR example
;
; by Francis G. Loch
;
InitRequester()
a.l = LSL(2,3) ; Should give you 16
b.l = LSR(32,3) ; Should give you 4
body$ = "Logical Shift Left (LSL) result = "+Str(a)+Chr(10)
body$ + "Logical Shift Right (LSR) result = "+Str(b)
req.l = EasyRequester("Information", body$, "Okay")